﻿app.factory('fileFactory', function ($http) {
    var factory = {};
    factory.uploadFile = function(postData) {
        return $http.post(uploadFileApiAddress,postData);
    };
    factory.deleteFile = function (postData) {
        return $http.post(deleteFileApiAddress,postData);
    };
    return factory;
});